const path = require('path')
module.exports = {
  configureWebpack: {
    resolve: {
      alias: {
        '@root': path.join(__dirname)
      }
    }
  },
  css: {
    loaderOptions: {
      stylus: {
        // 导入全局颜色主题变量
        import: [path.join(__dirname, `public/theme/style/color.styl`)]
      },
      less: {
        javascriptEnabled: true
      }
    }
  }
  // devServer: {
  //   host:'dev.andesk.cn'
  // }
}